#include "Jeu.h"

#include <stdio.h>
#include <stdlib.h>
#include "Menu.h"

/*#ifdef JEU_NCURSES*/
#include "NcursJeu.h"
/*#endif

#ifdef JEU_SDL*/
#include "SdlJeu.h"
/*#endif*/

int main(int argc,char** argv)
{
    TTF_Init();
    TTF_Font *Mario = TTF_OpenFont("data/SuperMario256.ttf", 70);
    TTF_Font *Snorlax = TTF_OpenFont("data/LittleSnorlax.ttf", 25);
    TTF_SetFontStyle(Mario, TTF_STYLE_NORMAL | TTF_STYLE_BOLD);
    TTF_SetFontStyle(Snorlax,  TTF_STYLE_BOLD);
    SDL_Color Noir = {0, 0, 0};
    SDL_Color Rouge = {255, 0, 0};
    SDL_Surface *ecran = NULL, *fond = NULL;
    menuAff(ecran,fond,Mario,Snorlax,Noir,Rouge);
	SDL_FreeSurface(ecran);
    SDL_FreeSurface(fond);
    TTF_CloseFont(Mario);
    TTF_CloseFont(Snorlax);
    TTF_Quit();


    /*Ncurses*/
/*/#ifdef JEU_NCURSES
	ncursJeu Nj;
	ncursInit(&Nj);
    ncursjeuBoucle(&Nj);
	//jeuLibere(&Nj);
//#endif*/


    return 0;
}

